<template>
  <d2-container>
  <div style="width:100%;overflow-y:scroll;">
    <h1 style="font-size:15px;">一、发布任务</h1>
    <viewer>
      <img src="../../../assets/sysm_1.png" alt="" style="height:100px;">
      <img src="../../../assets/sysm_2.png" alt="" style="width:100px;height:100px;margin-left:10px;">
      <img src="../../../assets/sysm_3.png" alt="" style="width:100px;height:100px;margin-left:10px;">
    </viewer>
    <h1 style="font-size:15px;">二、账户充值</h1>
    <viewer>
      <img src="../../../assets/sysm_4.png" alt="" style="width:100px;height:100px;">
    </viewer>
  </div>
  </d2-container>
</template>

<script>
  import { userinfo } from '@/api/api'
  export default {
    name: "AdminInform",
    data(){
      return{
        data:[]
      }
    },
    methods:{
      //获取用户信息
      getUser(){
        userinfo().then(res=>{
          if(res.Status == 200){
            this.$emit('getMoney',res.Data.money)
          }else{
            this.$message.error(res.Message)
          }
        })
      },
    },
    created(){
      this.getUser()
    }
  }
</script>
